﻿using System;
using Wo_months.Models;
using Wo_months.IBLL;
using System.Threading.Tasks;
using System.Collections.Generic;
using Wo_months.DAL;
using Wo_months.IDAL;
using System.Data.SqlTypes;
using System.Linq;
using Microsoft.EntityFrameworkCore;

namespace Wo_months.BLL
{
    public class EnglishManager : IEnglishManager
    {
        private readonly IDAL.IEnglishService _EnglishService;
        public EnglishManager(IDAL.IEnglishService englishService)
        {
            _EnglishService = englishService;
        }

        public List<English> GetAllEnglish()
        {
            return _EnglishService.GetAllAsync().ToList();
        }
    }
}
